﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Xml.Serialization;

namespace Interface
{
    

    /*public class moves :List<move>
    {
        [XmlAttribute("from")]
        public int from;
        [XmlAttribute("to")]
        public int to;
        [XmlAttribute("total")]
        public int total;
        [XmlAttribute("board")]
        public String board;
        [XmlAttribute("url")]
        public String url;

    }*/


    public class moves 
    {
        [XmlElement("move")]
        public List<move> movess = new List<move>();

        [XmlAttribute("from")]
        public int from;
        [XmlAttribute("to")]
        public int to;
        [XmlAttribute("total")]
        public int total;
        [XmlAttribute("board")]
        public String board;
        [XmlAttribute("url")]
        public String url;

        public moves(){
            movess=new List<move>();
        }

    }

    public class move{
        [XmlAttribute("seq")]
        public int seq;
        [XmlAttribute("row")]
        public int row;
        [XmlAttribute("column")]
        public int column;

    }

}
